#!/usr/bin/python
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import *

urlpatterns = patterns('',
        (r"^$", "diveintopython.views.home"),
        (r"^ceviriler/ekle/(?P<slug>.*)/$", "diveintopython.views.translation_create"),
        (r"^ceviriler/(?P<id>\d+)/$", "diveintopython.views.translation_detail"),
        (r"^belgeler/ekle/$", "diveintopython.views.document_create"),
        (r"^belgeler/(?P<id>.*)/$", "diveintopython.views.document_detail"),
        )
